﻿using System;
namespace Producers.Kis.Xtee.Riik.Ee.Producer.Kis {
    
    
    public partial class ObligorPerson : global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.Obligor, global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IObligorPerson {
        
        private global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IPerson @__person;
        
        public ObligorPerson() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public ObligorPerson(global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IPerson @person) {
            this.@__person = @person;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected ObligorPerson(IObligorPerson @obligorPerson) {
            this.@__person = @obligorPerson.Person;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        public ObligorPerson(IObligor @obligor) : 
                base(@obligor) {
        }
        
        public virtual global::Producers.Kis.Xtee.Riik.Ee.Producer.Kis.IPerson Person {
            get {
                return this.@__person;
            }
            set {
                this.@__person = value;
            }
        }
    }
}
